<script type="text/javascript">
	jQuery(document).ready(function(){

		$.strPad = function(i,l,s) {
		 var o = i.toString();
		 if (!s) { s = '0'; }
		 while (o.length < l) {
		  o = s + o;
		 }
		 return o;
		};
		
		setCounter();
	});
	function setCounter()
	{
		setTimeout("setCounter()", 300000);
		jQuery("#counter").html(jQuery.strPad(jQuery("#counter").html() * 1 + 1, 7));
	}
</script>

<div class="w248 float_right">
        <div class=" p7b">
          <div class="bg_tt2">{{l}}Contact{{/l}}</div>
          <div class="middle1">
            <p class="bo_b font16 p11l p11t p15b" style="font-size: 15px;color:#20B7C2; font-weight: bold;"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_contact.png" align="left" />
            {{foreach from=$hotmail item=item}}
            <span class="p5l">{{l}}Hotline{{/l}} : {{$item.name}}</span> 
            {{/foreach}}
            {{foreach from=$mobile item=item}}
            <span class="p5l">{{l}}Mobile{{/l}} : {{$item.name}}</span> 
            {{/foreach}}
            </p>
            <p class="bo_t bo_b font15 p15l p5t p15b" style="padding-top: 10px;"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_email.png" align="left" style="margin-top: -5px;"/><span class="p11l"><a href="mailto:info@thienchi.vn">info@thienchi.vn</a></span></p>
            
            <div class="tt_httt">{{l}}Online Support{{/l}}</div>
            {{foreach from=$yahoo item=item}}
            <a href="ymsgr:sendim?{{$item.custom_value}}&amp;m=Hello">
             <p class="p11l font13 p5t p15b bo_b">
             {{if $item.status == 1}}<img src="{{$LAYOUT_HELPER_URL}}front/images/icon_yahoo.png" align="left" />
             {{else}}<img src="{{$LAYOUT_HELPER_URL}}front/images/yahoo_offline.png" align="left" />{{/if}}
             <span class=" p15l">{{l}}{{$item.name}}{{/l}}</span></p></a>
            {{/foreach}}
            
             {{foreach from=$skype item=item}}
            <a href="skype:{{$item.custom_value}}?chat">
           <p class="p11l font13 p5t p15b bo_t"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_skype.png" align="left" /><span class=" p15l color_bule">{{l}}{{$item.name}}{{/l}}</span></p></a>
             {{/foreach}}
            
<!--            -->
<!--            <p class="p11l font13 p5t p15b bo_b"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_yahoo.png" align="left" /><span class=" p15l">sale manager name 1</span></p>-->
<!--            <p class="p11l font13 p5t p15b bo_b bo_t"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_yahoo.png" align="left" /><span class=" p15l">sale manager name 2</span></p>-->
<!--            <p class="p11l font13 p5t p15b bo_b bo_t"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_yahoo.png" align="left" /><span class=" p15l">sale manager name 3</span></p>-->
<!--            <p class="p11l font13 p5t p15b bo_b bo_t"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_yahoo.png" align="left" /><span class=" p15l">sale manager name 4</span></p>-->
<!--            <p class="p11l font13 p5t p15b bo_t"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_skype.png" align="left" /><span class=" p15l">sale manager name 5</span></p>-->
          </div>
        
        </div>
        <div class=" p7b">
           <div class="middle2">
            <p class="p5t"><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_tuyendung.png"/></p>
            <a href="{{$recruiment.url}}"><p class="subject_text p5t">{{$recruiment.title}}</p></a>
          </div>
        </div>
        
        <div class=" p7b">
          <div class="bg_tt2">{{l}}Question{{/l}} & {{l}}Anwser{{/l}}
          </div>
          <div class="middle3">
            <ul>
            	{{foreach from=$allFeedbacks name=feedback item=item}}
            		{{if !$smarty.foreach.feedback.last}}
              			<li><span><img src="{{$LAYOUT_HELPER_URL}}front/images/nhay_left.png"/></span><a href="{{$item.url}}">{{$item.question}}</a> <span><img src="{{$LAYOUT_HELPER_URL}}front/images/nhay_right.png"/></span></li>
              		{{else}}
              			<li class="boto"><span><img src="{{$LAYOUT_HELPER_URL}}front/images/nhay_left.png"/></span> <a href="{{$item.url}}">{{$item.question}}</a>  <span><img src="{{$LAYOUT_HELPER_URL}}front/images/nhay_right.png"/></span></li>
            		{{/if}}
            	{{/foreach}}
            </ul>
          </div>
     
        </div>
        
        <!-- STATISTIC -->
        <div class=" p7b">
          <div class="bg_tt2">{{l}}Statistic{{/l}}</div>
          <div class="middle4">
            <p class="font28 p24t"><span id="counter">{{$counter}}</span><img src="{{$LAYOUT_HELPER_URL}}front/images/icon_hean.png"/></p>
          </div>
        
        </div>
        <!-- END STATISTIC -->
      </div>